package com.sias.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel(value = "课程基本信息", description = "编辑课程基本信息的表单对象")
@Data
public class CourseInfoDto {
    @ApiModelProperty(value = "课程讲师ID")
    private String teacherId;
    @ApiModelProperty(value = "课程子类ID")
    private String subjectId;
    @ApiModelProperty(value = "课程标题")
    private String name;
    @ApiModelProperty(value = "课程简介")
    private String context;
    @ApiModelProperty(value = "课程种类0免费，1会员免费，收费")
    private BigDecimal type;
    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;
    @ApiModelProperty(value = "总课时")
    private Integer hour;
    @ApiModelProperty(value = "课程封面图片路径")
    private String img;
    @ApiModelProperty(value = "课程视频路径")
    private String video;


}
